﻿using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc.Rendering;

namespace Nop.Web.Framework.Events;

/// <summary>
/// Admin tabstrip created event
/// </summary>
public partial class AdminTabStripCreated
{
    /// <summary>
    /// Ctor
    /// </summary>
    /// <param name="helper">HTML Helper</param>
    /// <param name="tabStripName">Tabstrip name</param>
    public AdminTabStripCreated(IHtmlHelper helper, string tabStripName)
    {
        Helper = helper;
        TabStripName = tabStripName;
        BlocksToRender = new List<IHtmlContent>();
    }

    /// <summary>
    /// HTML Helper
    /// </summary>
    public IHtmlHelper Helper { get; protected set; }
    /// <summary>
    /// TabStripName
    /// </summary>
    public string TabStripName { get; protected set; }
    /// <summary>
    /// Blocks to render
    /// </summary>
    public IList<IHtmlContent> BlocksToRender { get; set; }
}